package com.bruobuqi.feign.controller;

import com.bruobuqi.feign.feign.SchedualServiceHi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AdminController {
    @Autowired
    SchedualServiceHi schedualServiceHi;
    @RequestMapping("/nihao")
    public String nihao() {
      String ss=  schedualServiceHi.sayHiFromClientOne("bruobuqi");
      return ss;
    }
}
